package com.dawn.iiotgateway.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName(value = "user_info")
@Data
public class UserInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableField(value = "phone")
    private String phone;

    @TableField(value = "password", select = false)
    private String password;

    @TableField(value = "avatar_url")
    private String avatarUrl;

    @TableField(value = "nickname")
    private String nickname;

    @TableField(value = "name")
    private String name;

    @TableField(value = "username")
    private String username;

    @TableField(value = "status")
    private BaseStatus status;


}